package com.yeping;

import com.yeping.domain.entity.Chapter;
import com.yeping.mapper.ChapterMapper;
import com.yeping.service.ChapterService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class ChapterTest {
    @Autowired
    ChapterMapper chapterMapper;

    @Test
    public void chapterTest(){
        Chapter chapter = chapterMapper.selectById(1);
        System.out.println(chapter);
    }
}
